-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try fix robot start state with STOMP #26
Try fix robot start state with STOMP #26
Conversation
How were you able to test if the desired behavior was produced? |
I was having the same issue using
I have attached an OMPL and a STOMP gif to demonstrate the issue (See top comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpt-yoshi you found a rather old under defined problem with the MoveIt planner interface and ironically @jrgnicho was the one originally pointing it out. After a lot of discussion multiple MoveIt maintainers agreed that it's best to use the robot state of the planning_scene
provided with the request as the current state, and interpret the message in request.start_state
as a diff on top. Ideally people would just forget about this start_state field on the side of the planner altogether.
As this is exactly the approach you implemented here, I approve.
I just happened to come across this pull request. Credit goes to @s-trinh! |
It seems still has some problem with the industrial_moveit_test_moveit_config pkg demo when use this fix to plan. |
It seems still has some problem
Could you elaborate and show logs?
|
This PR fixed the start state problem, but there still has a problem with |
there still has a problem with `bool Stomp::solve(const Eigen::MatrixXd& initial_parameters,Eigen::MatrixXd& parameters_optimized)` function I think.Which a right initial_parameters will get a wrong parameters_optimized result.
At first glance this is an independent issue, isn't it?
|
This PR fixed the start state problem, but there still has a problem with |
The log texts is a few confused.I do not know how to upload a picture. |
I have opened a new issue to talk about it.Here |
@jrgnicho @gavanderhoorn (anyone else?) I this is a rather small issue and the fix is clear. |
I have no experience with MoveIt code.
These changes seems to solve the following issue for me:
plan()
I am not sure if STOMP is actually taking into account attached object for the optimization.
I don't know if all these changes are required and if this is the correct approach (should planning_scene_monitor be used instead?).
Maybe the current code is fine and it is intended to always provide full robot state in the request (no diff)? Maybe my changes are breaking this behaviour?
I think this issue is related.